package com.gutsyzhan.bilibili.service.impl;

import com.gutsyzhan.bilibili.dao.AuthRoleMenuDao;
import com.gutsyzhan.bilibili.domain.auth.AuthRoleMenu;
import com.gutsyzhan.bilibili.service.AuthRoleMenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Set;

@Service
public class AuthRoleMenuServiceImpl implements AuthRoleMenuService {
    @Resource
    private AuthRoleMenuDao authRoleMenuDao;

    @Override
    public List<AuthRoleMenu> getRoleMenuByRoleIds(Set<Long> roleIds) {
        return authRoleMenuDao.getRoleMenuByRoleIds(roleIds);
    }
}
